Skip to content

fix(ci): trigger release-tag workflow via workflow_dispatch from auto-tag#315

Merged
drew merged 1 commit intomainfrom
fix-release-auto-tag-trigger/an
Mar 15, 2026
Merged

fix(ci): trigger release-tag workflow via workflow_dispatch from auto-tag#315
drew merged 1 commit intomainfrom
fix-release-auto-tag-trigger/an

Conversation

@drew
Copy link
Collaborator

@drew drew commented Mar 15, 2026

Summary

Fix the release-auto-tag workflow so it actually triggers the release-tag pipeline. Tags pushed with GITHUB_TOKEN do not trigger other workflows (by GitHub design), which caused v0.0.4 to silently skip the release.

Related Issue

No issue — discovered when Release Auto-Tag run #23101142513 created v0.0.4 but the Release Tag workflow never ran.

Changes

  • release-tag.yml: Added workflow_dispatch trigger with a tag input. Added workflow-level env.RELEASE_TAG to unify tag references across push and dispatch triggers. Added ref: to all checkout steps so dispatch runs check out the tag commit. Replaced all GITHUB_REF_NAME/github.ref_name with RELEASE_TAG/env.RELEASE_TAG.
  • release-auto-tag.yml: Added a Trigger Release Tag workflow step that calls gh workflow run release-tag.yml -f tag=<tag> after pushing the tag.

Testing

  • mise run pre-commit passes
  • Unit tests added/updated — N/A (CI workflow changes only)
  • E2E tests added/updated — N/A

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (if applicable) — N/A

…-tag

Tags pushed with GITHUB_TOKEN do not trigger other workflows. Instead of
relying on the push event, the auto-tag workflow now explicitly dispatches
release-tag.yml with the tag as an input parameter. The release-tag workflow
accepts both push (tag) and workflow_dispatch triggers, using env.RELEASE_TAG
to unify the tag reference across all jobs.
@drew drew self-assigned this Mar 15, 2026
@drew drew merged commit 8c17177 into main Mar 15, 2026
9 checks passed
@drew drew deleted the fix-release-auto-tag-trigger/an branch March 15, 2026 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant